package cn.yyx.orderservice.controller;


import cn.yyx.common.R;
import cn.yyx.orderservice.service.impl.PerformanceStepServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author lsj
 * @since 2023-10-27
 */
@RestController
@RequestMapping("/performance-step")
public class PerformanceStepController {
    @Autowired
    private PerformanceStepServiceImpl stepService;
    @PostMapping("list")
    public R list(){
        return R.ok().data("item",stepService.list());
    }

}

